<html>
<head>
<meta name="layout" content="main" />
<title>Upload PSP Log File</title>
</head>

<body>
<div class="nav"><span class="menuButton"><a class="home"
	href="${createLink(uri: '/upload')}">Upload PSP Data</a></span></div>

<div class="body">
<g:if test="${flash.message}">
	<div class="message">
	${flash.message}
	</div>
</g:if>
<div id="upload-form" style="padding: 10px;"><g:form
	controller="upload" method="post" action="upload"
	enctype="multipart/form-data">
	Select Task:
        <g:select name="taskId"
                  from="${session.taskList}" optionKey="id"
                  optionValue="name" />
	<input type="file" name="pspLogFile" />
	<input type="submit" value="Upload! " />
</g:form></div>
</div>
</body>
</html>